package com.project.thisDatabase.base.db;

import com.project.thisDatabase.base.model.data.Condition;
import com.project.thisDatabase.base.model.data.LimitItem;

import java.util.List;

public interface SqlText {
    <U> String Select(Condition<U> item, List pm) throws Exception;
    <U> String Select(String[] cols, Condition<U> item, List pm) throws Exception;
    <U> String Select(String[] cols, Condition<U> item, Integer start, Integer max, List pm) throws Exception;
    <T, U> String Update(T change, Condition<U> item, List pm) throws Exception;
    <T> String Insert(T change, List pm) throws Exception;
    <U> String Delete(Condition<U> item, List pm) throws Exception;
}
